package com.tgy.controller;

import com.tgy.entity.User;
import com.tgy.service.UserService;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * (User)表控制层
 *
 * @author makejava
 * @since 2021-08-28 21:55:57
 */
@Controller
public class UserController {
//    static User user;


    @RequestMapping("list")
    public String list(Model model){
        return "index";
    }



    @RequestMapping("index")
    public String showIndex(){
        return "index";
    }


}
